package com.yami.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.UmsPayInformation;
import com.yami.shop.bean.model.User;

public interface UmsPayInformationService extends IService<UmsPayInformation> {

    /**
     * 订单支付成功,新插入订单数据
     */
    void addNewUmsPayInformation(UmsPayInformation umsPayInformation);

    /**
     * 处理支付成功的订单
     */
    void dealPaySuccess(String  result,String orderNumber);

    /**
     * 使用银联支付充值
     */
    User dealPayByUms(String result, String orderNumber, Long depositId);


}
